package cn.oms.esb.provider.dao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author AllenChen曾晨
 * @since 2022-04-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("service_exception_send_email_record")
@ApiModel(value="ServiceExceptionSendEmailRecord对象", description="")
public class ServiceExceptionSendEmailRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID（新增自增生成）UUID")
    @TableField("ID")
    private String id;

    @ApiModelProperty(value = "异常ID（对应异常表）")
    @TableField("EXCEPTION_CODE")
    private String exceptionCode;

    @ApiModelProperty(value = "发送人姓名")
    @TableField("SEND_MAN_NAME")
    private String sendManName;

    @ApiModelProperty(value = "发送人邮箱")
    @TableField("SEND_MAN_EMAIL")
    private String sendManEmail;

    @ApiModelProperty(value = "收件人姓名")
    @TableField("RECIPIENT_MAN_NAME")
    private String recipientManName;

    @ApiModelProperty(value = "收件人邮箱")
    @TableField("RECIPIENT_MAN_EMAIL")
    private String recipientManEmail;

    @ApiModelProperty(value = "发送类型（服务异常等）(对应邮件类型字典)")
    @TableField("SEND_EMAIL_TYPE")
    private String sendEmailType;

    @ApiModelProperty(value = "邮件格式：正常格式邮件0 HTML格式邮件1 MARCKDOWN格式2")
    @TableField("EMAIL_FORMAT")
    private Integer emailFormat;

    @ApiModelProperty(value = "邮件标题")
    @TableField("EMAIL_TITLE")
    private String emailTitle;

    @ApiModelProperty(value = "发送邮件详情正文")
    @TableField("EMAIL_CONTENT")
    private String emailContent;

    @ApiModelProperty(value = "服务异常发送时间")
    @TableField("EXCEPTION_TIME")
    private LocalDate exceptionTime;

    @ApiModelProperty(value = "删除标记")
    @TableField("DEL_FLAG")
    private Integer delFlag;


}
